package com.ruoyi.bnt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程详情（视频）对象 bnt_courseinfo
 * 
 * @author yyj
 * @date 2020-10-03
 */
public class BntCourseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一编号 */
    private String id;

    /** 状态，0正常，-1删除 */
    @Excel(name = "状态，0正常，-1删除")
    private Long state;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 介绍 */
    @Excel(name = "介绍")
    private String detail;

    /** 播放次数 */
    @Excel(name = "播放次数")
    private Long playTime;

    /** 课程大纲 */
    @Excel(name = "课程大纲")
    private String outline;

    /** 父节点ID */
    @Excel(name = "父节点ID")
    private String parentId;

    /** 视频文件名 */
    @Excel(name = "视频文件名")
    private String videoName;

    /** 视频路径 */
    @Excel(name = "视频路径")
    private String videoUrl;

    /** 视频类型 */
    @Excel(name = "视频类型")
    private String videoType;

    private int visitNum;

    public int getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(int visitNum) {
        this.visitNum = visitNum;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setPlayTime(Long playTime) 
    {
        this.playTime = playTime;
    }

    public Long getPlayTime() 
    {
        return playTime;
    }
    public void setOutline(String outline) 
    {
        this.outline = outline;
    }

    public String getOutline() 
    {
        return outline;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setVideoName(String videoName) 
    {
        this.videoName = videoName;
    }

    public String getVideoName() 
    {
        return videoName;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoType(String videoType) 
    {
        this.videoType = videoType;
    }

    public String getVideoType() 
    {
        return videoType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("state", getState())
            .append("title", getTitle())
            .append("detail", getDetail())
            .append("playTime", getPlayTime())
            .append("outline", getOutline())
            .append("parentId", getParentId())
            .append("videoName", getVideoName())
            .append("videoUrl", getVideoUrl())
            .append("videoType", getVideoType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
